package cn.sys.controller.dto;

public class DormitoryInfoDTO {
    /**
     * 宿舍id
     */
    private Integer dorId;
    /**
     * 宿舍具体位置
     */
    private String position;
    /**
     * 宿舍楼栋的名称
     */
    private String apartmentName;
    /**
     * 宿舍楼栋
     */
    private Integer floor;
    /**
     * 宿舍门牌号
     */
    private Integer doorNum;
    /**
     * 宿舍类型，转为String再存进来，二人间、四人间、六人间
     */
    private String type;
    /**
     * 宿舍状态，空寝、男寝、女寝
     */
    private String state;
    /**
     * 宿舍当前入住人数
     */
    private Integer num;


    public Integer getDorId() {
        return dorId;
    }

    public void setDorId(Integer dorId) {
        this.dorId = dorId;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public String getApartmentName() {
        return apartmentName;
    }

    public void setApartmentName(String apartmentName) {
        this.apartmentName = apartmentName;
    }

    public Integer getFloor() {
        return floor;
    }

    public void setFloor(Integer floor) {
        this.floor = floor;
    }

    public Integer getDoorNum() {
        return doorNum;
    }

    public void setDoorNum(Integer doorNum) {
        this.doorNum = doorNum;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    @Override
    public String toString() {
        return "DormitoryInfoDTO{" +
                "position='" + position + '\'' +
                ", apartmentName='" + apartmentName + '\'' +
                ", floor=" + floor +
                ", doorNum=" + doorNum +
                ", type='" + type + '\'' +
                ", state='" + state + '\'' +
                ", num=" + num +
                '}';
    }
}
